<template>
  <el-card>
    <el-form inline>
      <el-form-item label="编码" class="mgb-0">
        <el-input v-model="fname"></el-input>
      </el-form-item>
      <el-form-item label="名称" class="mgb-0">
        <el-input v-model="fnumber"></el-input>
      </el-form-item>
      <el-form-item label="产品" class="mgb-0">
        <demo-material ref="search_material" v-model="fmaterialid"></demo-material>
      </el-form-item>
      <el-form-item class="mgb-0">
        <!--<el-button type="primary" icon="el-icon-search" @click="searchData"></el-button>
        <el-button type="success" icon="el-icon-refresh" @click="clearData"></el-button>-->
        <el-button type="primary" icon="el-icon-search" ></el-button>
        <el-button type="success" icon="el-icon-refresh"></el-button>
      </el-form-item>
    </el-form>
  </el-card>
</template>

<script>
    export default {
        name: "material",
      data(){
        return{
          fname:'',
          fnumber:'',
          fmaterialid:'',
        }
      }
    }
</script>

<style scoped>

</style>
